#!/bin/bash
tar xf bison-3.5.2.tar.xz
cd bison-3.5.2
./configure --prefix=$1/usr --host=$4
make -j$2
make install
cd ..
rm -rf bison-3.5.2

